package com.ryder.petmatediarybackend.module.shop.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * 描述：创建店铺宠物合集DTO
 *
 * @author Ryder
 * @version 1.0
 * @since 1.0
 * 更新日期: 2025-10-31
 */
@Data
@Schema(description = "创建店铺宠物合集请求DTO")
public class CreatePetCollectionDTO {

    @NotBlank(message = "宠物名称不能为空")
    @Schema(description = "宠物名称", example = "小橘", required = true)
    private String petName;

    @NotNull(message = "宠物类型不能为空")
    @Schema(description = "宠物类型：1=猫 2=狗 3=其他", example = "1", required = true)
    private Integer petType;

    @Schema(description = "品种", example = "英短")
    private String breed;

    @Schema(description = "年龄（月）", example = "12")
    private String ageMonths;

    @Schema(description = "性别：1=公 2=母", example = "1")
    private Integer gender;

    @Schema(description = "价格（仅展示）", example = "3000.00")
    private Double price;

    @NotNull(message = "宠物图片不能为空")
    @Schema(description = "宠物图片URL列表（JSON数组，数量≤30）", required = true)
    private List<String> images;

    @Schema(description = "描述", example = "活泼可爱的小橘猫")
    private String description;
}

